export function isEmpty(str) {
    if (str === undefined || str === null) return true
    if ((typeof str) === "number") {
        return isNaN(str)
    }
    if ((typeof str) === "string") return str.match(/^ *$/) !== null
    return false;
}


export function isNotEmptyAll() {
    for (let i = 0; i < arguments.length; i++) {
        if(isEmpty(arguments[i])) return false
    }
    return true
}
